Raimond Spekking [Thu, 5 Jun 2008 18:20:34 +0000 (18:20 +0000)]
Localisation updates German
Aryeh Gregor [Thu, 5 Jun 2008 18:13:16 +0000 (18:13 +0000)]
SpecialSearchResults hook now passes results by reference, so they can be changed by extensions.
Greg Sabino Mullane [Thu, 5 Jun 2008 17:57:34 +0000 (17:57 +0000)]
Add space before 'LEFT JOIN' so it doesn't become part of the table name. Bug 14412
Chad Horohoe [Thu, 5 Jun 2008 17:48:05 +0000 (17:48 +0000)]
Adding 'wantedpages-summary' it to $wgOptionalMessages as well.
Chad Horohoe [Thu, 5 Jun 2008 17:37:35 +0000 (17:37 +0000)]
Removing 'missingimages' and 'missingimages-summary'. Dunno how those too snuck in there, must've missed them when reviewing the patch.
Raimond Spekking [Thu, 5 Jun 2008 17:33:31 +0000 (17:33 +0000)]
* (Bug 13828) Split parameter $1 (combines title and revision numbers) of MediaWiki:Missingarticle into $1 (=title)
and $2 (=revision numbers) for prettier output.
Greg Sabino Mullane [Thu, 5 Jun 2008 17:20:26 +0000 (17:20 +0000)]
querycache.value is an unsigned int with default of 0, so don't attempt to store an empty string.
Chad Horohoe [Thu, 5 Jun 2008 16:19:29 +0000 (16:19 +0000)]
Bug 13702 - Add Special:MissingFiles to list pages where an [[Image:]] link exists but no appropriate file is there.
Danny B [Thu, 5 Jun 2008 14:20:59 +0000 (14:20 +0000)]
repairing invalid RSS feed in Special:NewPages
<comments> field in RSS contains URL, not plain text - using talk page URL here per Special:RecentChanges feed
RSS 2.0 spec: http://cyber.law.harvard.edu/rss/rss.html#ltcommentsgtSubelementOfLtitemgt
Victor Vasiliev [Thu, 5 Jun 2008 14:05:35 +0000 (14:05 +0000)]
Fix some weird bugs on "you are blocked" form by unstubbing User object.
Tim Starling [Thu, 5 Jun 2008 12:58:02 +0000 (12:58 +0000)]
* Changed password hash format, see wikitech-l
* Made the PasswordReset and Maintenance extensions, and maintenance/changePassword.php work with CentralAuth, by calling User::setPassword() instead of updating the database directly. They work now even if you use an object cache.
* Don't automatically log in as the user in question when CentralAuthUser::setPassword() is called, it's kind of uncool when an administrator is setting the password of another user.
* Fix bug 14330 by setting the local passwords on demerge
Alexandre Emsenhuber [Thu, 5 Jun 2008 09:59:33 +0000 (09:59 +0000)]
Define $wgRateLimitsExcludedGroups to an empty array to avoid some PHP warnings, thanks to siebrand for reporting it.
Alexandre Emsenhuber [Thu, 5 Jun 2008 08:48:47 +0000 (08:48 +0000)]
Added 'right-noratelimit' message and updated messages.inc
Siebrand Mazeland [Thu, 5 Jun 2008 08:06:10 +0000 (08:06 +0000)]
Fall back to Hindi
Siebrand Mazeland [Thu, 5 Jun 2008 07:00:46 +0000 (07:00 +0000)]
Fix typo in 'ipb_already_blocked' and add newline
Chad Horohoe [Thu, 5 Jun 2008 04:15:10 +0000 (04:15 +0000)]
(bug 12859) Deprecate $wgRateLimitsExcludedGroups in favor of adding the 'noratelimit' user right. Doing it properly this time, so old functionality is still intact.
Chad Horohoe [Thu, 5 Jun 2008 00:11:24 +0000 (00:11 +0000)]
Bug 10080 - Sysops can now modify a block without unblocking first. Patch by Huji with some tweaks to allow for silent unblocking (no log entry).
Aaron Schulz [Thu, 5 Jun 2008 00:00:07 +0000 (00:00 +0000)]
Tweak error messages
Aryeh Gregor [Wed, 4 Jun 2008 23:45:01 +0000 (23:45 +0000)]
Revert r35848 per Brion's WONTFIX of bug 14536: "This would just mean that there's no practical way to move pages with their subpages."
Rate limits should be applied per user action, *not* based on how large the effect of each action is. Note that moving a page with its talk page only counts as one move for rate limits; this is the same principle. The only point of rate limits (as far as I can think of) is to prevent unauthorized automated scripts from creating a mess in 30 seconds that it will take 10 hours to clean up by hand. Since a move with subpages is no harder to clean up (i.e., revert) than a move without subpages, they should count the same for rate limits.
Granted that at present, move with subpages *is* a little harder to revert: it requires a few more clicks, to go to the base target page and move back with subpages, as opposed to hitting a convenient revert link. But it's not 100 times as hard to clean up, and doesn't remotely deserve to be treated as such. (Unless you also want to delete the redirects, okay. I grant that reverting moves with subpages could use improvement, but killing the feature entirely for non-sysops seems unreasonable at the present time.)
Aaron Schulz [Wed, 4 Jun 2008 23:44:13 +0000 (23:44 +0000)]
'0' is a title
Brion Vibber [Wed, 4 Jun 2008 23:36:02 +0000 (23:36 +0000)]
Login & signup form float fixes:
* right float for RTL
* clear floats for the post-form text!
The float is only used to get the box to size nicely, as far as I can tell.
There ought to be a nice clean way to get boxes to auto-size nicely without making them tables or floats.
Aaron Schulz [Wed, 4 Jun 2008 23:24:25 +0000 (23:24 +0000)]
Title may come in as an empty string, which is not null, so the previous fails and lets a bad title slip in, which can make errors
Brion Vibber [Wed, 4 Jun 2008 21:59:27 +0000 (21:59 +0000)]
Fix regression from 35745 -- extra bogus empty 'thumb' magic word causes parser failures
Chad Horohoe [Wed, 4 Jun 2008 21:33:01 +0000 (21:33 +0000)]
Fix bug 11771: Signup form now not shown if in read-only mode.
Siebrand Mazeland [Wed, 4 Jun 2008 20:13:41 +0000 (20:13 +0000)]
Localisation updates for core messages from Betawiki (2008-06-04 21:52 CEST)
* additionally processed r35871 for remaining localisations (documentation moved from meta: to mediawiki:)
* rebuilt all language files
Chad Horohoe [Wed, 4 Jun 2008 20:07:56 +0000 (20:07 +0000)]
Recommitting User::isActiveUser() as User::isActiveEditor() per suggestions from Brion.
Rotem Liss [Wed, 4 Jun 2008 18:39:08 +0000 (18:39 +0000)]
Update.
Alexandre Emsenhuber [Wed, 4 Jun 2008 18:27:42 +0000 (18:27 +0000)]
Changing the url of job queue documentation to mediawiki.org/wiki/Manual:Job_queue
Brion Vibber [Wed, 4 Jun 2008 17:55:16 +0000 (17:55 +0000)]
* (bug 14386) Fix subpage namespace oddity when moving a talk page
Brion Vibber [Wed, 4 Jun 2008 16:56:31 +0000 (16:56 +0000)]
Revert r35857, 35858, 35859 for the moment. Some notes:
* Calling $user->isActiveUser() looks a bit redundant. :) Consider either shortening it to isActive() or changing the last word to be clearer, say $user->isActiveEditor()
* $wgActiveUserEditcount <- consider fully casing here; "editcount" isn't a word. :D -> $wgActiveUserEditCount
* $oldTime is dumped into SQL without any escaping or quoting. This will happen to work on MySQL but will fail on PostgreSQL, and is generally a bad practice. Use addQuotes() to ensure the formatted timestamp string is escaped and quoted for your raw SQL construct
* the database result object is not freed, which will leak resources if used in a long-running script
Chad Horohoe [Wed, 4 Jun 2008 13:24:12 +0000 (13:24 +0000)]
And a missing > helps too.
Chad Horohoe [Wed, 4 Jun 2008 13:18:06 +0000 (13:18 +0000)]
Typo in previous commit.
Chad Horohoe [Wed, 4 Jun 2008 13:15:02 +0000 (13:15 +0000)]
Implement User::isUserActive(). Potentially very useful for bugs 13225 and 13585. Thanks to Aaron for his help on getting this right.
Rotem Liss [Wed, 4 Jun 2008 10:00:50 +0000 (10:00 +0000)]
Update for he.
Andrew Garrett [Wed, 4 Jun 2008 06:48:45 +0000 (06:48 +0000)]
Apply the rate-limiter to subpage moving
Rotem Liss [Wed, 4 Jun 2008 06:22:13 +0000 (06:22 +0000)]
Update.
Andrew Garrett [Wed, 4 Jun 2008 06:04:13 +0000 (06:04 +0000)]
Add GetAutoPromoteGroups hook, which was in my working copy but not committed yet (core change for TorBlock extension)
Aaron Schulz [Wed, 4 Jun 2008 04:05:47 +0000 (04:05 +0000)]
Add oldid like r35829, except without random unrelated change
Tim Starling [Wed, 4 Jun 2008 03:31:56 +0000 (03:31 +0000)]
Reverted r35829, breaks the suppression of the "next diff" link ("newer edit" on wikipedia) when viewing a diff to the current revision.
Shinjiman [Wed, 4 Jun 2008 03:18:19 +0000 (03:18 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Tim Starling [Wed, 4 Jun 2008 01:57:32 +0000 (01:57 +0000)]
Disable hooks display in Special:Version by default. It's unnecessarily technical, usually useless, and may cause unintended leakage of information about anti-spam measures in use.
Tim Starling [Wed, 4 Jun 2008 01:48:25 +0000 (01:48 +0000)]
Don't break vim syntax highlighting
Tim Starling [Wed, 4 Jun 2008 01:47:30 +0000 (01:47 +0000)]
Special-case debugging hack
Tim Starling [Wed, 4 Jun 2008 01:46:53 +0000 (01:46 +0000)]
Use --wiki to specify the wiki ID (database name). Similar to the Wikimedia hack but applicable to all farm installations. Requires special handling in LocalSettings.php to transfer the MW_DB through to $wgDBname.
Tim Starling [Wed, 4 Jun 2008 01:44:36 +0000 (01:44 +0000)]
Capture PHP errors from mysql_connect(). Apparently this is the only place connection errors are available in PHP 5.2.6.
Aaron Schulz [Wed, 4 Jun 2008 00:21:29 +0000 (00:21 +0000)]
special page group tweak
Aaron Schulz [Wed, 4 Jun 2008 00:16:36 +0000 (00:16 +0000)]
Tweak message
Tim Starling [Wed, 4 Jun 2008 00:14:13 +0000 (00:14 +0000)]
Fix and revert revert of 35819. is_writable() should apply to the parent, not the nonexistent new directory.
Aryeh Gregor [Tue, 3 Jun 2008 23:54:02 +0000 (23:54 +0000)]
As Brion points out, this needs an htmlspecialchars.
Aaron Schulz [Tue, 3 Jun 2008 23:51:32 +0000 (23:51 +0000)]
Make link to current not be misleading if the diff is outdated (also bug 14395)
Brion Vibber [Tue, 3 Jun 2008 23:46:56 +0000 (23:46 +0000)]
Revert r35819 -- broke thumbnailing.
10 previously passing test(s) now FAILING! :(
* Thumbnail image caption with a free URL [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* BUG 1887: A ISBN with a thumbnail [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* BUG 1887: A RFC with a thumbnail [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* BUG 1887: A mailto link with a thumbnail [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* BUG 1887: A <math> with a thumbnail- we don't render math in the parsertests by default,
so math is not stripped and turns up as escaped <math> tags. [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* BUG 1887, part 2: A <math> with a thumbnail- math enabled [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* Image caption containing another image [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* Bug 3090: External links other than http: in image captions [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* Width + Height sized image (using px) (height is ignored) [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
* <references> after <gallery> (bug 6164) [Introduced between 03-Jun-2008 19:49:16, 1.13alpha (r35816) and 03-Jun-2008 23:42:22, 1.13alpha (r35827)]
Brion Vibber [Tue, 3 Jun 2008 23:36:48 +0000 (23:36 +0000)]
Revert r35812 (link icons for RTL).
Icons overlap text in Firefox 2 and IE 6 (seems worse in IE); haven't tested other browsers extensively yet.
Brion Vibber [Tue, 3 Jun 2008 23:33:46 +0000 (23:33 +0000)]
Revert r35769.
The star-shaped bullet isn't really ideal; it doesn't display properly in some browsers (overlaps with square bullet), and isn't particularly clear.
Might be best to break the pages back out again so things are visible and accessible.
Brion Vibber [Tue, 3 Jun 2008 22:43:24 +0000 (22:43 +0000)]
Revert r35794, r35795, r35797, r35798 for now.
Release notes claimed that this would deprecate $wgRateLimitsExcludedGroups, but in fact the code made it non-functional and removed it entirely.
Deprecation means that you *recommend against use of it*, but it continues to work.
Aryeh Gregor [Tue, 3 Jun 2008 21:57:53 +0000 (21:57 +0000)]
(bug 14385) "Move subpages" option no longer tries to move to invalid titles. Patch based on one by Mr.Z-man.
Brion Vibber [Tue, 3 Jun 2008 20:58:44 +0000 (20:58 +0000)]
Move bottomscripts down to just above the </body>, outside of the globalWrapper </div>.
This seems to make JS a little more robust against horrible flaming death in MSIE -- bad HTML in site messages combined with some anonnotice DOM work has been known to cause complete page load failure.
This might also be the cause of intermittent IE 7 load failures we haven't been able to reproduce.
Niklas Laxström [Tue, 3 Jun 2008 20:41:57 +0000 (20:41 +0000)]
* Second try of split message caches with changes suggested by Tim Starling and other small fixes
* removed use of umask, wfMkdirParents works now
* splitting of messages per language is now unconditional
* storing cached messages in 2-d array of code => messages
* fixed a bug in replace(), now deletion works properly
* clear() should actually do something now
* try to delay parser creation in transform()
* removed the use of $memcPrefix and wfMemcKeyLang() in favour of wfMemcKey()
* escape $code in loadFromDb()
* use member variable instead of static variable for tracking loaded languages
Niklas Laxström [Tue, 3 Jun 2008 20:32:13 +0000 (20:32 +0000)]
* When passing invalid or nonexistent language code to wfMsgExt, fallback to English instead of some random interface language we are currently using
Niklas Laxström [Tue, 3 Jun 2008 20:28:28 +0000 (20:28 +0000)]
* Revert wfMkdirParents back to old method not using recursive mkdir
* mkdir is affected by umask
* modifying umask is not thread safe
* work around is to use chmod... which the old code already did
Niklas Laxström [Tue, 3 Jun 2008 20:24:00 +0000 (20:24 +0000)]
* Cache sidebar for all languages
Niklas Laxström [Tue, 3 Jun 2008 20:15:16 +0000 (20:15 +0000)]
* Fix redundant assignment
Brion Vibber [Tue, 3 Jun 2008 19:33:24 +0000 (19:33 +0000)]
Remove bullshit "deprecated" warnings about MediaWiki:Monobook.js
Skin-specific JS pages are *PERFECTLY APPROPRIATE* for *SKIN-SPECIFIC* JS.
MediaWiki:Common.js should be used for *GENERAL JS*.
Siebrand Mazeland [Tue, 3 Jun 2008 19:14:02 +0000 (19:14 +0000)]
Localisation updates for core messages from Betawiki (2008-06-03 21:03 CEST)
Mohamed Magdy [Tue, 3 Jun 2008 18:55:44 +0000 (18:55 +0000)]
Enable external link icon (along with other links icons too) again on RTL wikis after correcting its behavior.
This time it only adds 1.7kb of code. tested it on Arabic and English wikis. patch by Ahmad Sherif.
Raimond Spekking [Tue, 3 Jun 2008 18:49:59 +0000 (18:49 +0000)]
Localisation updates German
Siebrand Mazeland [Tue, 3 Jun 2008 16:55:57 +0000 (16:55 +0000)]
Revert r35802. Not adding languages before there is sufficient message content. Using $wgExtraLanguageNames in LocalSetting.php in Betawiki.
Raimond Spekking [Tue, 3 Jun 2008 16:43:11 +0000 (16:43 +0000)]
Allow wikisyntax in these messages. Makes it easier to link to help pages in tbe projects
Purodha B Blissenbach [Tue, 3 Jun 2008 16:37:01 +0000 (16:37 +0000)]
prepare for Europanto localization on Betawiki
Alexandre Emsenhuber [Tue, 3 Jun 2008 16:35:31 +0000 (16:35 +0000)]
(bug 12145) Kazakh message updates
Chad Horohoe [Tue, 3 Jun 2008 15:12:16 +0000 (15:12 +0000)]
Clean up DefaultSettings.php documentation for (now useless) $wgRateLimitsExcludedGroups
Alexandre Emsenhuber [Tue, 3 Jun 2008 15:05:14 +0000 (15:05 +0000)]
Fatal error: Call to undefined method User::userCan()
Chad Horohoe [Tue, 3 Jun 2008 14:56:25 +0000 (14:56 +0000)]
Partial revert of r35794. Additional file added to commit that shouldn't have gone.
Chad Horohoe [Tue, 3 Jun 2008 14:53:47 +0000 (14:53 +0000)]
(bug 12859) Deprecate $wgRateLimitsExcludedGroups in favor of adding the 'noratelimit' user right.
Rotem Liss [Tue, 3 Jun 2008 13:32:18 +0000 (13:32 +0000)]
Code cleanup.
Rotem Liss [Tue, 3 Jun 2008 13:07:28 +0000 (13:07 +0000)]
Link to the group pages in Special:Preferences.
Rotem Liss [Tue, 3 Jun 2008 13:00:21 +0000 (13:00 +0000)]
Fix for r35787 commit message: the list bullets were indented to the right, not to the left.
Rotem Liss [Tue, 3 Jun 2008 12:58:57 +0000 (12:58 +0000)]
Removing obsolete messages, referring to the division of special pages to normal and restricted, and moving the messages of Special:Specialpages to this page section.
Rotem Liss [Tue, 3 Jun 2008 12:56:33 +0000 (12:56 +0000)]
Reverting new Special:SpecialPages layout: Problems in RTL wikis in Firefox (didn't check other browsers), list bullets are indented to the left. The change to the restricted special pages was not reverted, and they are still in the combined list.
Rotem Liss [Tue, 3 Jun 2008 12:32:11 +0000 (12:32 +0000)]
Update.
Rotem Liss [Tue, 3 Jun 2008 12:07:46 +0000 (12:07 +0000)]
Fixing display of RTL Special:Specialpages: Display is not ideal yet (bullets are out of display, at least in Firefox), but is better.
Roan Kattouw [Tue, 3 Jun 2008 10:58:45 +0000 (10:58 +0000)]
Fixing regression from r35298: wasn't adding enough ampersands.
Shinjiman [Tue, 3 Jun 2008 06:07:49 +0000 (06:07 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Siebrand Mazeland [Tue, 3 Jun 2008 05:38:04 +0000 (05:38 +0000)]
Also remove leftover "</li>" from previous commit
Siebrand Mazeland [Tue, 3 Jun 2008 05:36:52 +0000 (05:36 +0000)]
Reduce HTML in 'specialpages-note'
Shinjiman [Tue, 3 Jun 2008 03:56:53 +0000 (03:56 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Daniel Friesen [Tue, 3 Jun 2008 01:44:29 +0000 (01:44 +0000)]
Tweak system message to fit better.
Daniel Friesen [Tue, 3 Jun 2008 00:56:47 +0000 (00:56 +0000)]
Cleaning out old comments and changing display of restricted pages.
Splarka suggested marking restricted pages with a star bullet rather than bolding them.
Brion Vibber [Mon, 2 Jun 2008 21:52:57 +0000 (21:52 +0000)]
* (bug 14367) Failed block no longer adds phantom watchlist entry
^demon's patch from https://bugzilla.wikimedia.org/attachment.cgi?id=4945
Brion Vibber [Mon, 2 Jun 2008 21:48:02 +0000 (21:48 +0000)]
* (bug 14258, 14368) Fix for subpage renames in replication environments
Siebrand Mazeland [Mon, 2 Jun 2008 21:27:03 +0000 (21:27 +0000)]
Localisation updates for core messages from Betawiki (2008-06-02 23:23 CEST)
Bryan Tong Minh [Mon, 2 Jun 2008 20:15:22 +0000 (20:15 +0000)]
... and should have also made this an array
Bryan Tong Minh [Mon, 2 Jun 2008 20:11:11 +0000 (20:11 +0000)]
Forgot to return success
Bryan Tong Minh [Mon, 2 Jun 2008 19:15:56 +0000 (19:15 +0000)]
Put ratelimiter and edittoken checking in backend.
Raimond Spekking [Mon, 2 Jun 2008 18:54:54 +0000 (18:54 +0000)]
Localisation updates German
Raimond Spekking [Mon, 2 Jun 2008 18:45:09 +0000 (18:45 +0000)]
Add bug and comment for r35609: * (bug 13434) Show a warning when hash identical files exist
Shinjiman [Mon, 2 Jun 2008 18:36:42 +0000 (18:36 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Localisation updates Chinese for extension messages
Siebrand Mazeland [Mon, 2 Jun 2008 18:34:41 +0000 (18:34 +0000)]
Localisation updates for core messages from Betawiki
* cu: renamed namespaces according to new Unicode 5.1 standard
* eo: update magic words
* uk: update Special: namespace
Siebrand Mazeland [Mon, 2 Jun 2008 17:59:32 +0000 (17:59 +0000)]
Localisation updates. Rebuilt all languages files, removed obsolete messages
Siebrand Mazeland [Mon, 2 Jun 2008 17:53:51 +0000 (17:53 +0000)]
Localisation updates for core messages from Betawiki (2008-06-02 19:43 CEST)
Alexandre Emsenhuber [Mon, 2 Jun 2008 17:50:59 +0000 (17:50 +0000)]
Fixed Doxygen warnings